from dataProcessor.download_dce import download_dce_history

def main():
    """运行数据下载"""
    try:
        print("开始下载大商所历史数据...")
        download_dce_history()
    except Exception as e:
        print(f"下载过程出错: {str(e)}")
        raise

if __name__ == "__main__":
    main() 